package com.zfy.tingshu.album.service;

import com.alibaba.fastjson.JSONObject;
import com.zfy.tingshu.model.album.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BaseCategoryService extends IService<BaseCategory1> {


    /**
     * 获取分类数据
     * @return
     */
    List<JSONObject> getBaseCategoryList();

    /**
     * 专辑简介
     * @param category1Id
     * @return
     */
    List<BaseAttribute> findAttribute(Integer category1Id);

    BaseCategoryView getBaseCategoryView(Long category3Id);

    JSONObject getBaseCategory1List(Long category1Id);

    List<BaseCategory3> findTopBaseCategory3(Long category1Id);
}
